package nl.vu.few.ibivu.biomodels.client.ui.view;

import com.google.gwt.user.client.ui.IsWidget;

import nl.vu.few.ibivu.biomodels.shared.PetrifierModelData;

public interface ModelView extends IsWidget {
	String buildThumbnail();
	PetrifierModelData buildModelData();
	void showLoader();
	void clearLoader();
	void drawModel();
	void setPresenter(Presenter presenter);
	
	public interface Presenter extends nl.vu.few.ibivu.biomodels.client.presenter.Presenter, ModelDetailsView.Presenter, ModelExecutionAnalysisView.Presenter {
		void setDrawn();
		PetrifierModelData getModelData();
		void invalidateModelData();
	}
	
}
